package io.zhifei.modules.sys.pr.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import io.zhifei.modules.sys.pr.entity.Asset;
import io.zhifei.modules.sys.pr.model.params.AssetParam;
import io.zhifei.modules.sys.pr.model.vo.AssetVO;

import java.util.List;

/**
 * <p>
 * 资产表 服务类
 * </p>
 *
 * @author qdp
 * @since 2021-08-09
 */
public interface AssetService extends IService<Asset> {
    Integer add(Asset xxlJobInfo);

    boolean addAsset(AssetParam xxlJobInfoParam);

    IPage<AssetParam> listPage(IPage<Asset> page, QueryWrapper<Asset> qw);

    List<AssetVO> tree();
}
